//
//  Alipay.m
//  WHSport
//
//  Created by ccjoy-jimneylee on 15/5/29.
//  Copyright (c) 2015年 jimneylee. All rights reserved.
//

#import "PayClient.h"
static NSString * const _baseUrl = @"http://192.168.0.187:8080/";
@implementation PayClient
- (id)init
{
    self = [super initWithBaseURL:[NSURL URLWithString:_baseUrl]];
    if (self) {
        self.responseSerializer = [AFHTTPResponseSerializer serializer];
        self.responseSerializer.acceptableContentTypes = [NSSet setWithObjects:
                                                          @"application/json",
                                                          @"text/json",
                                                          @"text/javascript",
                                                          @"text/html",
                                                          @"text/plain",
                                                          nil];
    }
    return self;
}

@end
